package com.zm.dao;

import com.zm.pojo.AppVersion;

import java.util.List;

public interface AppVersionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AppVersion record);

    /**
     * 动态增加版本信息
     * @param record
     * @return
     */
    int insertSelective(AppVersion record);

    /**
     * 查询最新版本信息
     * @param id
     * @return
     */
    AppVersion selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AppVersion record);

    int updateByPrimaryKey(AppVersion record);

    /**
     * 查询APP版本信息
     * @return
     */
    List<AppVersion> selectHistoryVersion();
}